package com.gane.maple.service;

import com.gane.maple.entity.User;

/**
 * @Description UserService
 * @Date 2020/4/24 7:40
 * @Created by 王弘博
 */
public interface UserService {

    User selectByUserId(String userId);

    User selectByUserName(String userName);

    User selectFromMasterAndSlave(String userId, String userName);

    User selectFromMasterAndSlaveWithDataSourceRoutingInDao(String userId, String userName);

    User selectFromMasterAndSlaveWithoutDataSourceRoutingInDao(String userId, String userName);
}
